feat(message): add border theme variable for message types #7228
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
给
message新增 各类型的border变量,同时删除了.n-message-wrapper一些用不上的-n-icon-color-[type]图标颜色style变量,最终可以配置到如下的效果,关闭 #7105{ "Message": { "borderInfo": "1px solid #3b82f6", "borderSuccess": "1px solid #22c55e", "borderWarning": "1px solid #eab308", "borderError": "1px solid #ef4444", "borderLoading": "1px solid #10b981", "colorInfo": "#eff6ffFF", "colorSuccess": "#f0fdf4FF", "colorWarning": "#fefce8FF", "colorLoading": "#ecfdf5FF", "colorError": "#fef2f2FF", "iconColorLoading": "#059669FF", "iconColorWarning": "#ca8a04FF", "iconColorSuccess": "#16a34aFF", "iconColorInfo": "#2563ebFF", "iconColorError": "#dc2626FF", "textColorInfo": "#1d4ed8FF", "textColorSuccess": "#15803dFF", "textColorWarning": "#a16207FF", "textColorError": "#b91c1cFF", "textColorLoading": "#047857FF" } }